﻿#region Using directives

using System;
using System.Data;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;

using CBRSystem.Entities;
using CBRSystem.Data;

#endregion

namespace CBRSystem.Data.Bases
{	
	///<summary>
	/// This class is the base class for any <see cref="CourseOfferingProviderBase"/> implementation.
	/// It exposes CRUD methods as well as selecting on index, foreign keys and custom stored procedures.
	///</summary>
	public abstract partial class CourseOfferingProviderBaseCore : EntityProviderBase<CBRSystem.Entities.CourseOffering, CBRSystem.Entities.CourseOfferingKey>
	{		
		#region Get from Many To Many Relationship Functions
		#endregion	
		
		#region Delete Methods

		/// <summary>
		/// 	Deletes a row from the DataSource.
		/// </summary>
		/// <param name="transactionManager">A <see cref="TransactionManager"/> object.</param>
		/// <param name="key">The unique identifier of the row to delete.</param>
		/// <returns>Returns true if operation suceeded.</returns>
		public override bool Delete(TransactionManager transactionManager, CBRSystem.Entities.CourseOfferingKey key)
		{
			return Delete(transactionManager, key.CourseOfferingId);
		}
		
		/// <summary>
		/// 	Deletes a row from the DataSource.
		/// </summary>
		/// <param name="_courseOfferingId">The primary key.. Primary Key.</param>
		/// <remarks>Deletes based on primary key(s).</remarks>
		/// <returns>Returns true if operation suceeded.</returns>
		public bool Delete(System.Int32 _courseOfferingId)
		{
			return Delete(null, _courseOfferingId);
		}
		
		/// <summary>
		/// 	Deletes a row from the DataSource.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_courseOfferingId">The primary key.. Primary Key.</param>
		/// <remarks>Deletes based on primary key(s).</remarks>
		/// <returns>Returns true if operation suceeded.</returns>
		public abstract bool Delete(TransactionManager transactionManager, System.Int32 _courseOfferingId);		
		
		#endregion Delete Methods
		
		#region Get By Foreign Key Functions
	
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Instructor key.
		///		FK_CourseOffering_Instructor Description: 
		/// </summary>
		/// <param name="_coordinatorId">The key for the Instructor who is tasked with coordinating other instructors teaching this course.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCoordinatorId(System.Int32? _coordinatorId)
		{
			int count = -1;
			return GetByCoordinatorId(_coordinatorId, 0,int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Instructor key.
		///		FK_CourseOffering_Instructor Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_coordinatorId">The key for the Instructor who is tasked with coordinating other instructors teaching this course.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		/// <remarks></remarks>
		public TList<CourseOffering> GetByCoordinatorId(TransactionManager transactionManager, System.Int32? _coordinatorId)
		{
			int count = -1;
			return GetByCoordinatorId(transactionManager, _coordinatorId, 0, int.MaxValue, out count);
		}
		
			/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Instructor key.
		///		FK_CourseOffering_Instructor Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_coordinatorId">The key for the Instructor who is tasked with coordinating other instructors teaching this course.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		///  <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCoordinatorId(TransactionManager transactionManager, System.Int32? _coordinatorId, int start, int pageLength)
		{
			int count = -1;
			return GetByCoordinatorId(transactionManager, _coordinatorId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Instructor key.
		///		fkCourseOfferingInstructor Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_coordinatorId">The key for the Instructor who is tasked with coordinating other instructors teaching this course.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCoordinatorId(System.Int32? _coordinatorId, int start, int pageLength)
		{
			int count =  -1;
			return GetByCoordinatorId(null, _coordinatorId, start, pageLength,out count);	
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Instructor key.
		///		fkCourseOfferingInstructor Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_coordinatorId">The key for the Instructor who is tasked with coordinating other instructors teaching this course.</param>
		/// <param name="count">out parameter to get total records for query</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCoordinatorId(System.Int32? _coordinatorId, int start, int pageLength,out int count)
		{
			return GetByCoordinatorId(null, _coordinatorId, start, pageLength, out count);	
		}
						
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Instructor key.
		///		FK_CourseOffering_Instructor Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_coordinatorId">The key for the Instructor who is tasked with coordinating other instructors teaching this course.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">The total number of records.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public abstract TList<CourseOffering> GetByCoordinatorId(TransactionManager transactionManager, System.Int32? _coordinatorId, int start, int pageLength, out int count);
		
	
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Course key.
		///		FK_CourseOffering_Course Description: 
		/// </summary>
		/// <param name="_courseId">The key for the Course which this CourseOffering represents.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCourseId(System.Int32 _courseId)
		{
			int count = -1;
			return GetByCourseId(_courseId, 0,int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Course key.
		///		FK_CourseOffering_Course Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_courseId">The key for the Course which this CourseOffering represents.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		/// <remarks></remarks>
		public TList<CourseOffering> GetByCourseId(TransactionManager transactionManager, System.Int32 _courseId)
		{
			int count = -1;
			return GetByCourseId(transactionManager, _courseId, 0, int.MaxValue, out count);
		}
		
			/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Course key.
		///		FK_CourseOffering_Course Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_courseId">The key for the Course which this CourseOffering represents.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		///  <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCourseId(TransactionManager transactionManager, System.Int32 _courseId, int start, int pageLength)
		{
			int count = -1;
			return GetByCourseId(transactionManager, _courseId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Course key.
		///		fkCourseOfferingCourse Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_courseId">The key for the Course which this CourseOffering represents.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCourseId(System.Int32 _courseId, int start, int pageLength)
		{
			int count =  -1;
			return GetByCourseId(null, _courseId, start, pageLength,out count);	
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Course key.
		///		fkCourseOfferingCourse Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_courseId">The key for the Course which this CourseOffering represents.</param>
		/// <param name="count">out parameter to get total records for query</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public TList<CourseOffering> GetByCourseId(System.Int32 _courseId, int start, int pageLength,out int count)
		{
			return GetByCourseId(null, _courseId, start, pageLength, out count);	
		}
						
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_CourseOffering_Course key.
		///		FK_CourseOffering_Course Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_courseId">The key for the Course which this CourseOffering represents.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">The total number of records.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.CourseOffering objects.</returns>
		public abstract TList<CourseOffering> GetByCourseId(TransactionManager transactionManager, System.Int32 _courseId, int start, int pageLength, out int count);
		
		#endregion

		#region Get By Index Functions
		
		/// <summary>
		/// 	Gets a row from the DataSource based on its primary key.
		/// </summary>
		/// <param name="transactionManager">A <see cref="TransactionManager"/> object.</param>
		/// <param name="key">The unique identifier of the row to retrieve.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <returns>Returns an instance of the Entity class.</returns>
		public override CBRSystem.Entities.CourseOffering Get(TransactionManager transactionManager, CBRSystem.Entities.CourseOfferingKey key, int start, int pageLength)
		{
			return GetByCourseOfferingId(transactionManager, key.CourseOfferingId, start, pageLength);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the primary key PK_CourseOffering index.
		/// </summary>
		/// <param name="_courseOfferingId">The primary key.</param>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.CourseOffering"/> class.</returns>
		public CBRSystem.Entities.CourseOffering GetByCourseOfferingId(System.Int32 _courseOfferingId)
		{
			int count = -1;
			return GetByCourseOfferingId(null,_courseOfferingId, 0, int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_CourseOffering index.
		/// </summary>
		/// <param name="_courseOfferingId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.CourseOffering"/> class.</returns>
		public CBRSystem.Entities.CourseOffering GetByCourseOfferingId(System.Int32 _courseOfferingId, int start, int pageLength)
		{
			int count = -1;
			return GetByCourseOfferingId(null, _courseOfferingId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_CourseOffering index.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_courseOfferingId">The primary key.</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.CourseOffering"/> class.</returns>
		public CBRSystem.Entities.CourseOffering GetByCourseOfferingId(TransactionManager transactionManager, System.Int32 _courseOfferingId)
		{
			int count = -1;
			return GetByCourseOfferingId(transactionManager, _courseOfferingId, 0, int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_CourseOffering index.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_courseOfferingId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.CourseOffering"/> class.</returns>
		public CBRSystem.Entities.CourseOffering GetByCourseOfferingId(TransactionManager transactionManager, System.Int32 _courseOfferingId, int start, int pageLength)
		{
			int count = -1;
			return GetByCourseOfferingId(transactionManager, _courseOfferingId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_CourseOffering index.
		/// </summary>
		/// <param name="_courseOfferingId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">out parameter to get total records for query</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.CourseOffering"/> class.</returns>
		public CBRSystem.Entities.CourseOffering GetByCourseOfferingId(System.Int32 _courseOfferingId, int start, int pageLength, out int count)
		{
			return GetByCourseOfferingId(null, _courseOfferingId, start, pageLength, out count);
		}
		
				
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_CourseOffering index.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_courseOfferingId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">The total number of records.</param>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.CourseOffering"/> class.</returns>
		public abstract CBRSystem.Entities.CourseOffering GetByCourseOfferingId(TransactionManager transactionManager, System.Int32 _courseOfferingId, int start, int pageLength, out int count);
						
		#endregion "Get By Index Functions"
	
		#region Custom Methods
		
		
		#region CourseOffering_LookupBySectionName 
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySectionName' stored procedure. 
		/// </summary>
		/// <param name="name"> A <c>System.String</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupBySectionName(System.String name)
		{
			return LookupBySectionName(null, 0, int.MaxValue , name);
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySectionName' stored procedure. 
		/// </summary>
		/// <param name="name"> A <c>System.String</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupBySectionName(int start, int pageLength, System.String name)
		{
			return LookupBySectionName(null, start, pageLength , name);
		}
				
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySectionName' stored procedure. 
		/// </summary>
		/// <param name="name"> A <c>System.String</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupBySectionName(TransactionManager transactionManager, System.String name)
		{
			return LookupBySectionName(transactionManager, 0, int.MaxValue , name);
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySectionName' stored procedure. 
		/// </summary>
		/// <param name="name"> A <c>System.String</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public abstract TList<CourseOffering> LookupBySectionName(TransactionManager transactionManager, int start, int pageLength , System.String name);
		
		#endregion
		
		#region CourseOffering_ListAllInactive 
		
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllInactive' stored procedure. 
		/// </summary>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> ListAllInactive()
		{
			return ListAllInactive(null, 0, int.MaxValue );
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllInactive' stored procedure. 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> ListAllInactive(int start, int pageLength)
		{
			return ListAllInactive(null, start, pageLength );
		}
				
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllInactive' stored procedure. 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> ListAllInactive(TransactionManager transactionManager)
		{
			return ListAllInactive(transactionManager, 0, int.MaxValue );
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllInactive' stored procedure. 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public abstract TList<CourseOffering> ListAllInactive(TransactionManager transactionManager, int start, int pageLength );
		
		#endregion
		
		#region CourseOffering_ListAllActive 
		
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllActive' stored procedure. 
		/// </summary>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> ListAllActive()
		{
			return ListAllActive(null, 0, int.MaxValue );
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllActive' stored procedure. 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> ListAllActive(int start, int pageLength)
		{
			return ListAllActive(null, start, pageLength );
		}
				
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllActive' stored procedure. 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> ListAllActive(TransactionManager transactionManager)
		{
			return ListAllActive(transactionManager, 0, int.MaxValue );
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_ListAllActive' stored procedure. 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public abstract TList<CourseOffering> ListAllActive(TransactionManager transactionManager, int start, int pageLength );
		
		#endregion
		
		#region CourseOffering_LookupBySection 
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupBySection(System.Int32? sectionId)
		{
			return LookupBySection(null, 0, int.MaxValue , sectionId);
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupBySection(int start, int pageLength, System.Int32? sectionId)
		{
			return LookupBySection(null, start, pageLength , sectionId);
		}
				
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupBySection(TransactionManager transactionManager, System.Int32? sectionId)
		{
			return LookupBySection(transactionManager, 0, int.MaxValue , sectionId);
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public abstract TList<CourseOffering> LookupBySection(TransactionManager transactionManager, int start, int pageLength , System.Int32? sectionId);
		
		#endregion
		
		#region CourseOffering_LookupByTerm 
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupByTerm(System.Int16? term)
		{
			return LookupByTerm(null, 0, int.MaxValue , term);
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupByTerm(int start, int pageLength, System.Int16? term)
		{
			return LookupByTerm(null, start, pageLength , term);
		}
				
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public TList<CourseOffering> LookupByTerm(TransactionManager transactionManager, System.Int16? term)
		{
			return LookupByTerm(transactionManager, 0, int.MaxValue , term);
		}
		
		/// <summary>
		///	This method wrap the 'CourseOffering_LookupByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;CourseOffering&gt;"/> instance.</returns>
		public abstract TList<CourseOffering> LookupByTerm(TransactionManager transactionManager, int start, int pageLength , System.Int16? term);
		
		#endregion
		
		#endregion

		#region Helper Functions	
		
		/// <summary>
		/// Fill a TList&lt;CourseOffering&gt; From a DataReader.
		/// </summary>
		/// <param name="reader">Datareader</param>
		/// <param name="rows">The collection to fill</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">number of rows.</param>
		/// <returns>a <see cref="TList&lt;CourseOffering&gt;"/></returns>
		public static TList<CourseOffering> Fill(IDataReader reader, TList<CourseOffering> rows, int start, int pageLength)
		{
			NetTiersProvider currentProvider = DataRepository.Provider;
            bool useEntityFactory = currentProvider.UseEntityFactory;
            bool enableEntityTracking = currentProvider.EnableEntityTracking;
            LoadPolicy currentLoadPolicy = currentProvider.CurrentLoadPolicy;
			Type entityCreationFactoryType = currentProvider.EntityCreationalFactoryType;
			
			// advance to the starting row
			for (int i = 0; i < start; i++)
			{
				if (!reader.Read())
				return rows; // not enough rows, just return
			}
			for (int i = 0; i < pageLength; i++)
			{
				if (!reader.Read())
					break; // we are done
					
				string key = null;
				
				CBRSystem.Entities.CourseOffering c = null;
				if (useEntityFactory)
				{
					key = new System.Text.StringBuilder("CourseOffering")
					.Append("|").Append((System.Int32)reader[((int)CourseOfferingColumn.CourseOfferingId - 1)]).ToString();
					c = EntityManager.LocateOrCreate<CourseOffering>(
					key.ToString(), // EntityTrackingKey
					"CourseOffering",  //Creational Type
					entityCreationFactoryType,  //Factory used to create entity
					enableEntityTracking); // Track this entity?
				}
				else
				{
					c = new CBRSystem.Entities.CourseOffering();
				}
				
				if (!enableEntityTracking ||
					c.EntityState == EntityState.Added ||
					(enableEntityTracking &&
					
						(
							(currentLoadPolicy == LoadPolicy.PreserveChanges && c.EntityState == EntityState.Unchanged) ||
							(currentLoadPolicy == LoadPolicy.DiscardChanges && c.EntityState != EntityState.Unchanged)
						)
					))
				{
					c.SuppressEntityEvents = true;
					c.CourseOfferingId = (System.Int32)reader[((int)CourseOfferingColumn.CourseOfferingId - 1)];
					c.CourseId = (System.Int32)reader[((int)CourseOfferingColumn.CourseId - 1)];
					c.TermStart = (System.DateTime)reader[((int)CourseOfferingColumn.TermStart - 1)];
					c.TermEnd = (System.DateTime)reader[((int)CourseOfferingColumn.TermEnd - 1)];
					c.PassMark = (System.Byte)reader[((int)CourseOfferingColumn.PassMark - 1)];
					c.Active = (System.Boolean)reader[((int)CourseOfferingColumn.Active - 1)];
					c.CoordinatorId = (reader.IsDBNull(((int)CourseOfferingColumn.CoordinatorId - 1)))?null:(System.Int32?)reader[((int)CourseOfferingColumn.CoordinatorId - 1)];
					c.EntityTrackingKey = key;
					c.AcceptChanges();
					c.SuppressEntityEvents = false;
				}
				rows.Add(c);
			}
		return rows;
		}		
		/// <summary>
		/// Refreshes the <see cref="CBRSystem.Entities.CourseOffering"/> object from the <see cref="IDataReader"/>.
		/// </summary>
		/// <param name="reader">The <see cref="IDataReader"/> to read from.</param>
		/// <param name="entity">The <see cref="CBRSystem.Entities.CourseOffering"/> object to refresh.</param>
		public static void RefreshEntity(IDataReader reader, CBRSystem.Entities.CourseOffering entity)
		{
			if (!reader.Read()) return;
			
			entity.CourseOfferingId = (System.Int32)reader[((int)CourseOfferingColumn.CourseOfferingId - 1)];
			entity.CourseId = (System.Int32)reader[((int)CourseOfferingColumn.CourseId - 1)];
			entity.TermStart = (System.DateTime)reader[((int)CourseOfferingColumn.TermStart - 1)];
			entity.TermEnd = (System.DateTime)reader[((int)CourseOfferingColumn.TermEnd - 1)];
			entity.PassMark = (System.Byte)reader[((int)CourseOfferingColumn.PassMark - 1)];
			entity.Active = (System.Boolean)reader[((int)CourseOfferingColumn.Active - 1)];
			entity.CoordinatorId = (reader.IsDBNull(((int)CourseOfferingColumn.CoordinatorId - 1)))?null:(System.Int32?)reader[((int)CourseOfferingColumn.CoordinatorId - 1)];
			entity.AcceptChanges();
		}
		
		/// <summary>
		/// Refreshes the <see cref="CBRSystem.Entities.CourseOffering"/> object from the <see cref="DataSet"/>.
		/// </summary>
		/// <param name="dataSet">The <see cref="DataSet"/> to read from.</param>
		/// <param name="entity">The <see cref="CBRSystem.Entities.CourseOffering"/> object.</param>
		public static void RefreshEntity(DataSet dataSet, CBRSystem.Entities.CourseOffering entity)
		{
			DataRow dataRow = dataSet.Tables[0].Rows[0];
			
			entity.CourseOfferingId = (System.Int32)dataRow["CourseOfferingID"];
			entity.CourseId = (System.Int32)dataRow["CourseID"];
			entity.TermStart = (System.DateTime)dataRow["TermStart"];
			entity.TermEnd = (System.DateTime)dataRow["TermEnd"];
			entity.PassMark = (System.Byte)dataRow["PassMark"];
			entity.Active = (System.Boolean)dataRow["Active"];
			entity.CoordinatorId = Convert.IsDBNull(dataRow["CoordinatorID"]) ? null : (System.Int32?)dataRow["CoordinatorID"];
			entity.AcceptChanges();
		}
		#endregion 
		
		#region DeepLoad Methods
		/// <summary>
		/// Deep Loads the <see cref="IEntity"/> object with criteria based of the child 
		/// property collections only N Levels Deep based on the <see cref="DeepLoadType"/>.
		/// </summary>
		/// <remarks>
		/// Use this method with caution as it is possible to DeepLoad with Recursion and traverse an entire object graph.
		/// </remarks>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="entity">The <see cref="CBRSystem.Entities.CourseOffering"/> object to load.</param>
		/// <param name="deep">Boolean. A flag that indicates whether to recursively save all Property Collection that are descendants of this instance. If True, saves the complete object graph below this object. If False, saves this object only. </param>
		/// <param name="deepLoadType">DeepLoadType Enumeration to Include/Exclude object property collections from Load.</param>
		/// <param name="childTypes">CBRSystem.Entities.CourseOffering Property Collection Type Array To Include or Exclude from Load</param>
		/// <param name="innerList">A collection of child types for easy access.</param>
	    /// <exception cref="ArgumentNullException">entity or childTypes is null.</exception>
	    /// <exception cref="ArgumentException">deepLoadType has invalid value.</exception>
		public override void DeepLoad(TransactionManager transactionManager, CBRSystem.Entities.CourseOffering entity, bool deep, DeepLoadType deepLoadType, System.Type[] childTypes, DeepSession innerList)
		{
			if(entity == null)
				return;

			#region CoordinatorIdSource	
			if (CanDeepLoad(entity, "Instructor|CoordinatorIdSource", deepLoadType, innerList) 
				&& entity.CoordinatorIdSource == null)
			{
				object[] pkItems = new object[1];
				pkItems[0] = (entity.CoordinatorId ?? (int)0);
				Instructor tmpEntity = EntityManager.LocateEntity<Instructor>(EntityLocator.ConstructKeyFromPkItems(typeof(Instructor), pkItems), DataRepository.Provider.EnableEntityTracking);
				if (tmpEntity != null)
					entity.CoordinatorIdSource = tmpEntity;
				else
					entity.CoordinatorIdSource = DataRepository.InstructorProvider.GetByInstructorId(transactionManager, (entity.CoordinatorId ?? (int)0));		
				
				#if NETTIERS_DEBUG
				System.Diagnostics.Debug.WriteLine("- property 'CoordinatorIdSource' loaded. key " + entity.EntityTrackingKey);
				#endif 
				
				if (deep && entity.CoordinatorIdSource != null)
				{
					innerList.SkipChildren = true;
					DataRepository.InstructorProvider.DeepLoad(transactionManager, entity.CoordinatorIdSource, deep, deepLoadType, childTypes, innerList);
					innerList.SkipChildren = false;
				}
					
			}
			#endregion CoordinatorIdSource

			#region CourseIdSource	
			if (CanDeepLoad(entity, "Course|CourseIdSource", deepLoadType, innerList) 
				&& entity.CourseIdSource == null)
			{
				object[] pkItems = new object[1];
				pkItems[0] = entity.CourseId;
				Course tmpEntity = EntityManager.LocateEntity<Course>(EntityLocator.ConstructKeyFromPkItems(typeof(Course), pkItems), DataRepository.Provider.EnableEntityTracking);
				if (tmpEntity != null)
					entity.CourseIdSource = tmpEntity;
				else
					entity.CourseIdSource = DataRepository.CourseProvider.GetByCourseId(transactionManager, entity.CourseId);		
				
				#if NETTIERS_DEBUG
				System.Diagnostics.Debug.WriteLine("- property 'CourseIdSource' loaded. key " + entity.EntityTrackingKey);
				#endif 
				
				if (deep && entity.CourseIdSource != null)
				{
					innerList.SkipChildren = true;
					DataRepository.CourseProvider.DeepLoad(transactionManager, entity.CourseIdSource, deep, deepLoadType, childTypes, innerList);
					innerList.SkipChildren = false;
				}
					
			}
			#endregion CourseIdSource
			
			//used to hold DeepLoad method delegates and fire after all the local children have been loaded.
			Dictionary<string, KeyValuePair<Delegate, object>> deepHandles = new Dictionary<string, KeyValuePair<Delegate, object>>();
			// Deep load child collections  - Call GetByCourseOfferingId methods when available
			
			#region SectionCollection
			//Relationship Type One : Many
			if (CanDeepLoad(entity, "List<Section>|SectionCollection", deepLoadType, innerList)) 
			{
				#if NETTIERS_DEBUG
				System.Diagnostics.Debug.WriteLine("- property 'SectionCollection' loaded. key " + entity.EntityTrackingKey);
				#endif 

				entity.SectionCollection = DataRepository.SectionProvider.GetByCourseOfferingId(transactionManager, entity.CourseOfferingId);

				if (deep && entity.SectionCollection.Count > 0)
				{
					deepHandles.Add("SectionCollection",
						new KeyValuePair<Delegate, object>((DeepLoadHandle<Section>) DataRepository.SectionProvider.DeepLoad,
						new object[] { transactionManager, entity.SectionCollection, deep, deepLoadType, childTypes, innerList }
					));
				}
			}		
			#endregion 
			
			
			#region EvaluationComponentCollection
			//Relationship Type One : Many
			if (CanDeepLoad(entity, "List<EvaluationComponent>|EvaluationComponentCollection", deepLoadType, innerList)) 
			{
				#if NETTIERS_DEBUG
				System.Diagnostics.Debug.WriteLine("- property 'EvaluationComponentCollection' loaded. key " + entity.EntityTrackingKey);
				#endif 

				entity.EvaluationComponentCollection = DataRepository.EvaluationComponentProvider.GetByCourseOfferingId(transactionManager, entity.CourseOfferingId);

				if (deep && entity.EvaluationComponentCollection.Count > 0)
				{
					deepHandles.Add("EvaluationComponentCollection",
						new KeyValuePair<Delegate, object>((DeepLoadHandle<EvaluationComponent>) DataRepository.EvaluationComponentProvider.DeepLoad,
						new object[] { transactionManager, entity.EvaluationComponentCollection, deep, deepLoadType, childTypes, innerList }
					));
				}
			}		
			#endregion 
			
			
			//Fire all DeepLoad Items
			foreach(KeyValuePair<Delegate, object> pair in deepHandles.Values)
		    {
                pair.Key.DynamicInvoke((object[])pair.Value);
		    }
			deepHandles = null;
		}
		
		#endregion 
		
		#region DeepSave Methods

		/// <summary>
		/// Deep Save the entire object graph of the CBRSystem.Entities.CourseOffering object with criteria based of the child 
		/// Type property array and DeepSaveType.
		/// </summary>
		/// <param name="transactionManager">The transaction manager.</param>
		/// <param name="entity">CBRSystem.Entities.CourseOffering instance</param>
		/// <param name="deepSaveType">DeepSaveType Enumeration to Include/Exclude object property collections from Save.</param>
		/// <param name="childTypes">CBRSystem.Entities.CourseOffering Property Collection Type Array To Include or Exclude from Save</param>
		/// <param name="innerList">A Hashtable of child types for easy access.</param>
		public override bool DeepSave(TransactionManager transactionManager, CBRSystem.Entities.CourseOffering entity, DeepSaveType deepSaveType, System.Type[] childTypes, DeepSession innerList)
		{	
			if (entity == null)
				return false;
							
			#region Composite Parent Properties
			//Save Source Composite Properties, however, don't call deep save on them.  
			//So they only get saved a single level deep.
			
			#region CoordinatorIdSource
			if (CanDeepSave(entity, "Instructor|CoordinatorIdSource", deepSaveType, innerList) 
				&& entity.CoordinatorIdSource != null)
			{
				DataRepository.InstructorProvider.Save(transactionManager, entity.CoordinatorIdSource);
				entity.CoordinatorId = entity.CoordinatorIdSource.InstructorId;
			}
			#endregion 
			
			#region CourseIdSource
			if (CanDeepSave(entity, "Course|CourseIdSource", deepSaveType, innerList) 
				&& entity.CourseIdSource != null)
			{
				DataRepository.CourseProvider.Save(transactionManager, entity.CourseIdSource);
				entity.CourseId = entity.CourseIdSource.CourseId;
			}
			#endregion 
			#endregion Composite Parent Properties

			// Save Root Entity through Provider
			if (!entity.IsDeleted)
				this.Save(transactionManager, entity);
			
			//used to hold DeepSave method delegates and fire after all the local children have been saved.
			Dictionary<string, KeyValuePair<Delegate, object>> deepHandles = new Dictionary<string, KeyValuePair<Delegate, object>>();
	
			#region List<Section>
				if (CanDeepSave(entity.SectionCollection, "List<Section>|SectionCollection", deepSaveType, innerList)) 
				{	
					// update each child parent id with the real parent id (mostly used on insert)
					foreach(Section child in entity.SectionCollection)
					{
						if(child.CourseOfferingIdSource != null)
						{
							child.CourseOfferingId = child.CourseOfferingIdSource.CourseOfferingId;
						}
						else
						{
							child.CourseOfferingId = entity.CourseOfferingId;
						}

					}

					if (entity.SectionCollection.Count > 0 || entity.SectionCollection.DeletedItems.Count > 0)
					{
						//DataRepository.SectionProvider.Save(transactionManager, entity.SectionCollection);
						
						deepHandles.Add("SectionCollection",
						new KeyValuePair<Delegate, object>((DeepSaveHandle< Section >) DataRepository.SectionProvider.DeepSave,
							new object[] { transactionManager, entity.SectionCollection, deepSaveType, childTypes, innerList }
						));
					}
				} 
			#endregion 
				
	
			#region List<EvaluationComponent>
				if (CanDeepSave(entity.EvaluationComponentCollection, "List<EvaluationComponent>|EvaluationComponentCollection", deepSaveType, innerList)) 
				{	
					// update each child parent id with the real parent id (mostly used on insert)
					foreach(EvaluationComponent child in entity.EvaluationComponentCollection)
					{
						if(child.CourseOfferingIdSource != null)
						{
							child.CourseOfferingId = child.CourseOfferingIdSource.CourseOfferingId;
						}
						else
						{
							child.CourseOfferingId = entity.CourseOfferingId;
						}

					}

					if (entity.EvaluationComponentCollection.Count > 0 || entity.EvaluationComponentCollection.DeletedItems.Count > 0)
					{
						//DataRepository.EvaluationComponentProvider.Save(transactionManager, entity.EvaluationComponentCollection);
						
						deepHandles.Add("EvaluationComponentCollection",
						new KeyValuePair<Delegate, object>((DeepSaveHandle< EvaluationComponent >) DataRepository.EvaluationComponentProvider.DeepSave,
							new object[] { transactionManager, entity.EvaluationComponentCollection, deepSaveType, childTypes, innerList }
						));
					}
				} 
			#endregion 
				
			//Fire all DeepSave Items
			foreach(KeyValuePair<Delegate, object> pair in deepHandles.Values)
		    {
                pair.Key.DynamicInvoke((object[])pair.Value);
		    }
			
			// Save Root Entity through Provider, if not already saved in delete mode
			if (entity.IsDeleted)
				this.Save(transactionManager, entity);
				

			deepHandles = null;
						
			return true;
		}
		#endregion
	} // end class
	
	#region CourseOfferingChildEntityTypes
	
	///<summary>
	/// Enumeration used to expose the different child entity types 
	/// for child properties in <c>CBRSystem.Entities.CourseOffering</c>
	///</summary>
	public enum CourseOfferingChildEntityTypes
	{
		
		///<summary>
		/// Composite Property for <c>Instructor</c> at CoordinatorIdSource
		///</summary>
		[ChildEntityType(typeof(Instructor))]
		Instructor,
			
		///<summary>
		/// Composite Property for <c>Course</c> at CourseIdSource
		///</summary>
		[ChildEntityType(typeof(Course))]
		Course,
	
		///<summary>
		/// Collection of <c>CourseOffering</c> as OneToMany for SectionCollection
		///</summary>
		[ChildEntityType(typeof(TList<Section>))]
		SectionCollection,

		///<summary>
		/// Collection of <c>CourseOffering</c> as OneToMany for EvaluationComponentCollection
		///</summary>
		[ChildEntityType(typeof(TList<EvaluationComponent>))]
		EvaluationComponentCollection,
	}
	
	#endregion CourseOfferingChildEntityTypes
	
	#region CourseOfferingFilterBuilder
	
	/// <summary>
	/// A strongly-typed instance of the <see cref="SqlFilterBuilder&lt;CourseOfferingColumn&gt;"/> class
	/// that is used exclusively with a <see cref="CourseOffering"/> object.
	/// </summary>
	[CLSCompliant(true)]
	public class CourseOfferingFilterBuilder : SqlFilterBuilder<CourseOfferingColumn>
	{
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the CourseOfferingFilterBuilder class.
		/// </summary>
		public CourseOfferingFilterBuilder() : base() { }

		/// <summary>
		/// Initializes a new instance of the CourseOfferingFilterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		public CourseOfferingFilterBuilder(bool ignoreCase) : base(ignoreCase) { }

		/// <summary>
		/// Initializes a new instance of the CourseOfferingFilterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		/// <param name="useAnd">Specifies whether to combine statements using AND or OR.</param>
		public CourseOfferingFilterBuilder(bool ignoreCase, bool useAnd) : base(ignoreCase, useAnd) { }

		#endregion Constructors
	}

	#endregion CourseOfferingFilterBuilder
	
	#region CourseOfferingParameterBuilder
	
	/// <summary>
	/// A strongly-typed instance of the <see cref="ParameterizedSqlFilterBuilder&lt;CourseOfferingColumn&gt;"/> class
	/// that is used exclusively with a <see cref="CourseOffering"/> object.
	/// </summary>
	[CLSCompliant(true)]
	public class CourseOfferingParameterBuilder : ParameterizedSqlFilterBuilder<CourseOfferingColumn>
	{
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the CourseOfferingParameterBuilder class.
		/// </summary>
		public CourseOfferingParameterBuilder() : base() { }

		/// <summary>
		/// Initializes a new instance of the CourseOfferingParameterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		public CourseOfferingParameterBuilder(bool ignoreCase) : base(ignoreCase) { }

		/// <summary>
		/// Initializes a new instance of the CourseOfferingParameterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		/// <param name="useAnd">Specifies whether to combine statements using AND or OR.</param>
		public CourseOfferingParameterBuilder(bool ignoreCase, bool useAnd) : base(ignoreCase, useAnd) { }

		#endregion Constructors
	}

	#endregion CourseOfferingParameterBuilder
	
	#region CourseOfferingSortBuilder
    
    /// <summary>
    /// A strongly-typed instance of the <see cref="SqlSortBuilder&lt;CourseOfferingColumn&gt;"/> class
	/// that is used exclusively with a <see cref="CourseOffering"/> object.
    /// </summary>
    [CLSCompliant(true)]
    public class CourseOfferingSortBuilder : SqlSortBuilder<CourseOfferingColumn>
    {
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the CourseOfferingSqlSortBuilder class.
		/// </summary>
		public CourseOfferingSortBuilder() : base() { }

		#endregion Constructors

    }    
    #endregion CourseOfferingSortBuilder
	
} // end namespace
